Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-51295 | OSX8-00-01145 | SV-65505r1_rule | Medium |
Description |
---|
All files with the setuid bit set will allow anyone running these files to be temporarily assigned the UID of the file. While many system files depend on these attributes for proper operation, security problems can result if setuid is assigned to programs allowing reading and writing of files, or shell escapes. Only default vendor-supplied executables should have the setuid bit set. |
STIG | Date |
---|---|
Apple OS X 10.8 (Mountain Lion) Workstation STIG | 2015-02-10 |
Check Text ( C-53643r1_chk ) |
---|
To list all of the files with the setuid bit set, run the following command: sudo find / -perm 4000 -exec ls -ldb {} \; If any of the files listed are not documented as needing to have the setuid bit set by the vendor, this is a finding |
Fix Text (F-56095r1_fix) |
---|
Document all of the files with the setuid bit set. |